<?php
namespace Admin\Controller;
use Think\Controller\RestController;
class BaseController extends RestController{
	protected $allowMethod = array('get','post','put');
	protected $allowType = array('html','xml','json');
	protected $defaultMethod = 'get';
	protected $defaultType = 'json';

}
?>